package com.jy.novel.pojo.system;

import java.util.Date;

/**
 * Created by jihb on 4/14/16.
 * 菜单
 */
public class MenuInfo {

    /**
     * 主键id
     */
    private Long id;
    /**
     * 父菜单id
     */
    private Long parentId;

    /**
     * 菜单名称
     */
    private String name;
    /**
     * 菜单访问路径
     */
    private String path;
    /**
     * 菜单备注
     */
    private String remark;
    /**
     * 菜单唯一标识
     */
    private String menuId;
    /**
     * 是否是叶子节点(最后一级)
     */
    private Boolean leaf;

    /**
     * 创建时间
     */
    private Date creteTime;

    /**
     * 更新时间
     */
    private Date updateTime;
    /**
     * 菜单层级
     */
    private Integer level;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public Boolean getLeaf() {
        return leaf;
    }

    public void setLeaf(Boolean leaf) {
        this.leaf = leaf;
    }

    public Date getCreteTime() {
        return creteTime;
    }

    public void setCreteTime(Date creteTime) {
        this.creteTime = creteTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }
}
